package com.ruoyi.quartz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 积分记录表 hatchet_acq_jifen
 * 
 * @author ruoyi
 * @date 2019-03-08
 */
public class HatchetAcqJifen extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String uuid;
	/** 商户id */
	private String userId;
	/** 业务类型（1-信用卡，2-贷款，3-网贷查询，4-积分兑换） */
	private String bizType;
	/** 产品编号 */
	private String product;
	/** 产品名称 */
	private String productName;
	/** 产品金额 */
	private BigDecimal productAmount;
	/** 结算方式（CPA/CPS） */
	private String settleType;
	/** 单价 */
	private String price;
	/** 结算金额 */
	private BigDecimal settleAmount;
	/** 用户注册日期（年月日） */
	private Date registerDate;
	/** 结算日期（年月日） */
	private Date settleDate;
	/** 订单号 */
	private String orderId;
	
	//临时字段
	String userNo;	//商户编号
	String userName;//商户名称
	private BigDecimal sumMoney;//总结算金额
	public void setUuid(String uuid) 
	{
		this.uuid = uuid;
	}

	public String getUuid() 
	{
		return uuid;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}

	public String getUserId() 
	{
		return userId;
	}
	public void setBizType(String bizType) 
	{
		this.bizType = bizType;
	}

	public String getBizType() 
	{
		return bizType;
	}
	public void setProduct(String product) 
	{
		this.product = product;
	}

	public String getProduct() 
	{
		return product;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setProductAmount(BigDecimal productAmount) 
	{
		this.productAmount = productAmount;
	}

	public BigDecimal getProductAmount() 
	{
		return productAmount;
	}
	public void setSettleType(String settleType) 
	{
		this.settleType = settleType;
	}

	public String getSettleType() 
	{
		return settleType;
	}
	public void setPrice(String price) 
	{
		this.price = price;
	}

	public String getPrice() 
	{
		return price;
	}
	public void setSettleAmount(BigDecimal settleAmount) 
	{
		this.settleAmount = settleAmount;
	}

	public BigDecimal getSettleAmount() 
	{
		return settleAmount;
	}
	public void setRegisterDate(Date registerDate) 
	{
		this.registerDate = registerDate;
	}

	public Date getRegisterDate() 
	{
		return registerDate;
	}
	public void setSettleDate(Date settleDate) 
	{
		this.settleDate = settleDate;
	}

	public Date getSettleDate() 
	{
		return settleDate;
	}
	public void setOrderId(String orderId) 
	{
		this.orderId = orderId;
	}

	public String getOrderId() 
	{
		return orderId;
	}
	
	
    public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	
	public BigDecimal getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(BigDecimal sumMoney) {
		this.sumMoney = sumMoney;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("userId", getUserId())
            .append("bizType", getBizType())
            .append("product", getProduct())
            .append("productName", getProductName())
            .append("productAmount", getProductAmount())
            .append("settleType", getSettleType())
            .append("price", getPrice())
            .append("settleAmount", getSettleAmount())
            .append("registerDate", getRegisterDate())
            .append("settleDate", getSettleDate())
            .append("orderId", getOrderId())
            .toString();
    }
}
